﻿using System;
using System.Collections.Generic;
using System.Text;
using OneMG.Phoenix.Entity;
using OneMG.Phoenix.Service.Model;

namespace OneMG.Phoenix.Service.Contracts
{
    public interface IOrganizationService
    {

		void UpdateByOrgID (OrganizationModel model );

		void DeleteByOrgID (System.Int32 orgID );
		 
        OrganizationModel GetByOrgID (System.Int32 orgID );

        IList<OrganizationModel> GetByParentID(int parentID);

        IList<OrganizationModel> GetByParentIDPagedList(int parentID, int pageSize, int pageIndex, out int totalRecord);


        
    }
}